/**
 * 在这里全局注册的方法不需要再局部导入!!
 * 哪位写了公共组件的也可以放进来
 * 这是webpack的按需加载方式
 * require.ensure(dependencies: String[], callback: function(require), chunkName: String)
 */
import Vue from 'vue'
Vue.component("Breadcrumb",resolve => require.ensure([], () => resolve(require('./common/Breadcrumb')), 'Breadcrumb'))
Vue.component("MenuLeft",resolve => require.ensure([], () => resolve(require('./common/MenuLeft')), 'MenuLeft'))
Vue.component("Personality",resolve => require.ensure([], () => resolve(require('./common/Personality')), 'Personality'))
Vue.component("SubMenu",resolve => require.ensure([], () => resolve(require('./common/SubMenu')), 'SubMenu'))
Vue.component("TopBar",resolve => require.ensure([], () => resolve(require('./common/TopBar')), 'TopBar'))
Vue.component("WorkTab",resolve => require.ensure([], () => resolve(require('./common/WorkTab')), 'WorkTab'))
Vue.component("TableBar",resolve => require.ensure([], () => resolve(require('./common/TableBar')), 'TableBar'))
Vue.component("TheTable", resolve => require.ensure([], () => resolve(require('./common/TheTable')), 'TheTable'))